package com.gzsxy.esjy.service.core.sign.enums;

import lombok.Getter;

/**
 * @author zhangxiaolong
 * @date 2022/7/13 11:36
 */
@Getter
public enum SignStatus {

    /**
     *
     */
    SIGN_SUCCESS(0, "签名完成"),
    DEVICE_CANCEL_SIGN(1, "设备取消签名"),
    FILE_NOT_FOUND(2, "找不到签名文件"),
    DEVICE_BUSY_CODE(3, "设备繁忙"),
    DEVICE_DISCONNECT_CODE(6, "设备不在线"),
    /**
     * 签名信息，直接显示出来
     */
    SIGN_INFO(5, "签名信息"),
    SIGN_TIMEOUT(4, "签名超时");

    private int code;
    private String name;

    SignStatus(int code, String name) {
        this.code = code;
        this.name = name;
    }

}
